﻿using MediatR;
using RBAC_Uthorization.API.Application.Command.RoleMenuFunCommand;
using RBAC_Uthorization.API.DTO;
using RBAC_Uthorization.Infrstructre.Interface;

namespace RBAC_Uthorization.API.Application.CommandHandlers.RoleMenuFunHandler
{
    public class RoleMenuFunCreateCommandhandlers : IRequestHandler<RoleMenuFunCreateCommand, ApiResult<int>>
    {
        private readonly IRoleMenuFuncRepository _roleMenuFuncRepository;
        private readonly ILogger<RoleMenuFunCreateCommandhandlers> _logger;
        public RoleMenuFunCreateCommandhandlers(IRoleMenuFuncRepository roleMenuFuncRepository, ILogger<RoleMenuFunCreateCommandhandlers> logger)
        {
            _roleMenuFuncRepository = roleMenuFuncRepository;
            _logger = logger;
        }

        public Task<ApiResult<int>> Handle(RoleMenuFunCreateCommand request, CancellationToken cancellationToken)
        {
            throw new NotImplementedException();
        }
    }
}
